'''
Created on Jul 6, 2012

@author: Hung
'''
from google.appengine.ext import db

class NhanVien(db.Model):
    tenNV = db.StringProperty()
    ngaySinh = db.DateTimeProperty()
    soCMND = db.StringProperty()
    ngayCap = db.DateTimeProperty()
    noiCap = db.StringProperty()
    dienThoai = db.StringProperty()
    diaChi = db.StringProperty()
    loaiNV = db.IntegerProperty()
    codeLoaiNV = db.StringProperty()
    tenLoaiNV = db.StringProperty()
    username = db.StringProperty()
    luongCoBan = db.IntegerProperty()
    thuongDatMuc = db.IntegerProperty()
    parentId = db.IntegerProperty()
    parentName = db.StringProperty()
    email = db.StringProperty()
    
    